package com.hxl.tech.gateway.auth.service;

import com.hxl.tech.gateway.auth.dao.ApplicationOAtuhDao;
import com.hxl.tech.gateway.auth.model.ApplicationOauth;
import lombok.RequiredArgsConstructor;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 应用授权信息 Service 
 * @author soliddq
 * @date 2023-10-16
 */
@Service
@RequiredArgsConstructor
public class ApplicationOauthService {

    private final ApplicationOAtuhDao applicationOAtuhDao;

    public List<ApplicationOauth> findByAppId(String appId) {

        return applicationOAtuhDao.findByAppId(appId);
    }
}
